package cn.ac.iscas.domain.common;

import java.io.Serializable;

/**
 * Created by ISCAS on 2017/9/27.
 *
 * 查询条件
 */
public abstract class AbstractSearch implements Serializable {
	private int page;//从1开始，分页
	private int pageSize;//分页大小
	private String orderBy;//排序字段
	private boolean isAsc;//是否升序

	private int limit;

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	public boolean isAsc() {
		return isAsc;
	}

	public void setAsc(boolean asc) {
		isAsc = asc;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}
}
